package com.mxt.moviedemo.service;

import com.mxt.moviedemo.entity.User;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    User loginForPhone(String phone, String password);
    User loginForEmail(String email,String password);
    User loginByUsernameAndPassword(String uname, String password, String role);
    int registerUser(User user);
    int getNextUid();
}
